import request from "../../utils/request";

export function addRota(query){
    return request({
        url: '/api/teacherRota',
        method: 'post',
        data: query
    })
}
export const getRota = query =>{
    return request({
        url: '/api/teacherRota',
        method: 'get'
    })
}

export function deleteTeacherRota(id){
    return request({
        url: '/api/teacherRota/delete/' + id,
        method: 'delete'
    })
}

